package com.zy.jt;
import java.util.concurrent.TimeUnit;

/**
 * @author zhaoyi
 * @date 2021/7/29 10:51
 * 为单元测提供一些实验方法
 */
public class MyAssertions {

    public String getSuccess(){
     return "SUCCESS";
    }

    public Boolean isSuccess(){
        return true;
    }

    public String getNull(){
        return null;
    }

    public Integer getTimeout(Long sleep) throws InterruptedException {
        TimeUnit.MILLISECONDS.sleep(sleep);
        return sleep.intValue();
    }




}
